<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/18
  Time: 11:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<% String path = request.getContextPath() + "/";%>
<%--默认项目路径--%>
<html>
<head>
    <base href="<%=path %>">
    <title>Title</title>
<body>
<form  action="user/findTwo" method="post">
    <input type="text" name="uname"/>
    <input type="password" name="pwd"/>
    <button>注册</button>
</form>
<hr>
int 数组传递参数 <br>
<form  action="user/add" method="post">
    <input type="checkbox" name="ids" value="1"/> 现象学
    <input type="checkbox" name="ids" value="2"/> 观念论
    <input type="checkbox" name="ids" value="3"/>逻辑学
    <button>注册</button>
</form>
<hr>
list 数组传递参数<br>
<form  action="user/delete" method="post">
    <input type="checkbox" name="ids" value="1"/> 现象学
    <input type="checkbox" name="ids" value="2"/> 观念论
    <input type="checkbox" name="ids" value="3"/> 逻辑学
    <button>注册</button>
</form>
<br>
</body>
</html>
